Layer Definition Schema
SIMPLELINESYMBOL Element
See Also  Send comments on this topic.
Layer Definition Schema : SIMPLELINESYMBOL Element

Glossary Item Box

Description

Used to symbolize line features.

Diagram

SIMPLELINESYMBOL Element

Overview

SIMPLELINESYMBOL
Used to symbolize line features.
color optional
Line color.
width optional
Line width in points.
type optional Restriction of xs:string
Line type.

Attributes

NameTypeUseDefaultFixedDescription
color optional0,0,0 Line color.
width optional0 Line width in points.
typeRestriction of xs:stringoptionalsolid Line type.

Examples

Source

<xs:element name="SIMPLELINESYMBOL" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to symbolize line features.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="color" default="0,0,0">
      <xs:annotation>
        <xs:documentation>Line color.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="width" default="0">
      <xs:annotation>
        <xs:documentation>Line width in points.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="solid" name="type">
      <xs:annotation>
        <xs:documentation>Line type.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="solid" />
          <xs:enumeration value="dash" />
          <xs:enumeration value="dot" />
          <xs:enumeration value="dashdot" />
          <xs:enumeration value="dashdotdot" />
          <xs:enumeration value="null" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.